//
//  StepCountDBManager.h
//  记步-Demo
//
//  Created by qinlongqing on 14/11/11.
//  Copyright (c) 2014年 qinlongqing. All rights reserved.
//

#import <Foundation/Foundation.h>


#define kCurrentUserID                @"current_user_id"
#define kTimeForCurrentStep           @"time_for_current_step"

typedef void(^InsertDataSuccessOrFail)(BOOL isSuccess);

@interface StepCountDBManager : NSObject

+ (StepCountDBManager *)sharedInstance;

-(void)insertStepsDataWithArray:(NSMutableArray *)stepsDataArray successOrFailBlock:(InsertDataSuccessOrFail)block;

-(NSMutableArray *)selectAllStepsDataWithUserID:(NSString *)userID;

- (NSMutableArray *)selectStepsCountFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate WithUserID:(NSString *)userID;

@end
